@echo off
mkdir doc
FOR /R "C:\Program Files\Java\" %%i IN (*javadoc.exe) DO set JAVADOC="%%i"

%JAVADOC% -classpath src\ -d doc\ -doctitle "Digital Simulator Pro 2011 Ultima Prime" -windowtitle "DSP2011 UP Documentation" -link "http://java.sun.com/javase/6/docs/api/" -private Application Application.Elements Applisation.MainForm